package com.yida.bean;

import java.util.List;

public class tag {
	
	private Integer id;
	private String name;
	private List<blog> blogs;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<blog> getBlogs() {
		return blogs;
	}
	public void setBlogs(List<blog> blogs) {
		this.blogs = blogs;
	}
	public tag(Integer id, String name, List<blog> blogs) {
		super();
		this.id = id;
		this.name = name;
		this.blogs = blogs;
	}
	@Override
	public String toString() {
		return "tag [id=" + id + ", name=" + name + ", blogs=" + blogs + "]";
	}
	public tag() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	

}
